package com.husawang.husa.lib.base;

import android.Manifest;

/**
 * Created by s on 2016/4/27.
 */
public interface Global {

	//{"code":"000000","msg":"成功","data":{"token":"MTQ2MjQ3MDU2ODYyOA==.686c54cca5b2c4b13133e3832bc38bd7efcc2771","uid":null}}

	//        String URL_HOST = "http://10.10.10.120:8080/app";//冯亮
//    String URL_HOST = "http://10.10.10.66/app";//张通
//    String URL_HOST = "http://221.219.61.93:8082/app";//ip
//    String URL_HOST = "http://10.10.10.2:8082/app";//本地
//    String URL_HOST = "http://dtck.iok.la:8082/app";//外网
//    String URL_HOST = "http://122.114.46.87/app";//外网
//    String URL_HOST = "http://139.129.207.145/app";//外网
//	String URL_HOST = "https://app.husawang.com/app";//外网
	String URL_HOST = "http://app.51husa.com/app";//外网
	String URL_HOST_QINIU="http://image.51husa.com/";

	String UP_TOKEN_URL = URL_HOST + "/upload/getUpToken";

	String REQUEST_CHECKCODE_URL = URL_HOST + "/mcode/get";
	String SUBMIT_CHECKCODE_URL = URL_HOST + "/mcode/verify";

	String MISSION_LIST_URL = URL_HOST + "/mission/list";
	String MISSION_DETAIL_URL = URL_HOST + "/mission/detail";
	String MISSION_DELETE_URL = URL_HOST + "/mission/delete";
	String MISSION_LINGQU_URL = URL_HOST + "/mission/lingqu";
	String MISSION_MYLIST_URL = URL_HOST + "/mission/mylist";
	String MISSION_COMPLETED_URL = URL_HOST + "/mission/completed";

	String SUBMIT_USERINFO_URL = URL_HOST + "/member/add";
	String LOGIN_URL = URL_HOST + "/member/login";
	String FORGETPWD_URL = URL_HOST + "/member/forgetpwd";
	String USER_INFO_URL = URL_HOST + "/member/moreinfo";
	String USER_WALLET_INFO_URL = URL_HOST + "/member/wallet_info";
	String USER_CHANGE_INFO_URL = URL_HOST + "/member/changeinfo";
	String USER_SHOW_MEMBER_URL = URL_HOST + "/member/showmember";
	String USER_MY_RMB_LIST_URL = URL_HOST + "/member/myrmblist";
	String USER_MY_RMB_URL = URL_HOST + "/member/myrmb";
	String USER_MY_HSB_URL = URL_HOST + "/member/myhsb";
	String USER_MY_HSB_LIST_URL = URL_HOST + "/member/myhsblist";
	String USER_MY_URL = URL_HOST + "/member/my";
	String USER_ALIPAY_RECHARGE_URL = URL_HOST + "/member/alipayrecharge";
	String USER_ADD_WITHDRAWLS_URL = URL_HOST + "/member/addwithdrawals";
	String USER_ALIPAY_RETURN_URL = URL_HOST + "/member/alipayreturn";
	String USER_EXCHANGE_URL = URL_HOST + "/member/exchange";
	String USER_WECHAT_RECHARGE_URL = URL_HOST + "/member/wechatrecharge";
	String USER_WECHAT_RETURN_URL = URL_HOST + "/member/wechatreturn";
	String USER_MEMBER_LOGINOUT_URL = URL_HOST + "/member/loginout";
	String MEMBER_MCODEADD_URL = URL_HOST + "/member/mcodelogin";
	String MEMBER_RESETPWD_URL = URL_HOST + "/member/resetpwd";

	String INVITATION_MY_URL = URL_HOST + "/invitation/my";
	String INVITATION_MY_list_URL = URL_HOST + "/invitation/mylist";

	String REGISTER_PROTOCOL_PAGE_URL = URL_HOST + "/register/protocolpage";

	String MESSAGE_LIST_URL = URL_HOST + "/message/list";
	String MESSAGE_BBS_LIST_URL = URL_HOST + "/message/bbslist";
	String MESSAGE_REMIND_URL = URL_HOST + "/message/newremind";
	String MESSAGE_NEWLIST_URL = URL_HOST + "/message/newlist";
	String MESSAGE_17_LIST_URL = URL_HOST + "/message/m17list";
	String MESSAGE_V2_17_LIST_URL = URL_HOST + "/message/v2/m17list";
	String MESSAGE_ADD_URL = URL_HOST + "/message/add";
	String MESSAGE_V2_SYSLIST_URL = URL_HOST + "/message/v2/syslist";
	String MESSAGE_V2_PERSONLIST_URL = URL_HOST + "/message/v2/personlist";
	String MESSAGE_V2_READ_URL = URL_HOST + "/message/v2/read";
	String MESSAGE_V2_ALL_READ_URL = URL_HOST + "/message/v2/allread";
	String MESSAGE_V2_REMIND_URL = URL_HOST + "/message/v2/remind";

	String GOODS_LIST_URL = URL_HOST + "/goods/list";
	String GOODS_DETAIL_URL = URL_HOST + "/goods/detail";

	String HUSABANK_TOPAGEDETAIL_URL = URL_HOST + "/husabank/topagedetail";

	String VERSION_CODE_URL = URL_HOST + "/verison/nextversion";
	String VERSION_CODE_LAST_URL = URL_HOST + "/verison/lastversion";

	String RECHARGE_ORDER_MY_LIST_URL = URL_HOST + "/rechargeorder/mylist";
	String RECHARGE_ORDER_DETAIL_URL = URL_HOST + "/rechargeorder/detail";

	String SHOP_DETAIL_URL = URL_HOST + "/shangjia/detail";
	String SHOP_REPLY_URL = URL_HOST + "/shangjia/shangjia_reply/list";
	String SHOP_REPLY_ADD_URL = URL_HOST + "/shangjia/shangjia_reply/add";
	String SHOP_INDUSTRY_LIST_URL = URL_HOST + "/shangjia/industrylist";
	String SHOP_DISCUSS_LIST_URL = URL_HOST + "/shangjia/shangjia_discuss/list";
	String SHOP_DISCUSS_ADD_URL = URL_HOST + "/shangjia/shangjia_discuss/add";
	String SHOP_LIST_URL = URL_HOST + "/shangjia/list";
	String SHOP_COLLECTION_URL = URL_HOST + "/shangjia/collection";
	String ENTERPRISE_AMOUNT_BENEFIT_URL = URL_HOST + "/shangjia/amountbenefit";
	String ENTERPRISE_ALIPAY_BENEFIT_URL = URL_HOST + "/shangjia/alipaybenefit";
	String ENTERPRISE_WECHAT_BENEFIT_URL = URL_HOST + "/shangjia/wechatbenefit";
	String ENTERPRISE_MEMBERCOLLECTIONLIST_URL = URL_HOST + "/shangjia/memberCollectionList";

	String SIGNRECORD_DETAIL_URL = URL_HOST + "/signrecord/detail";
	String SIGNRECORD_ACTION_URL = URL_HOST + "/signrecord/action";
	String VIDEO_LIST_URL = URL_HOST + "/video/list";


	String FEED_BACK_URL = URL_HOST + "/feedback/add";
	String REPORT_ADD_URL = URL_HOST + "/report/add";

	String COUPON_MYLIST_URL = URL_HOST + "/coupon/mylist";
	String COUPON_LIST_URL = URL_HOST + "/coupon/list";
	String COUPON_LINGQU_URL = URL_HOST + "/coupon/lingqu";
	String COUPON_DELETE_URL = URL_HOST + "/coupon/delete";
	String COUPON_ENTERPRISE_LIST_URL = URL_HOST + "/coupon/enterpriselist";

	String ORDER_BUY_URL = URL_HOST + "/order/buyv2";
	String ORDER_LIST_URL = URL_HOST + "/order/mylist";
	String ORDER_CONFIRM_URL = URL_HOST + "/order/confirm";
	String ORDER_DETAIL_URL = URL_HOST + "/order/detail";
	String ORDER_DELETE_URL = URL_HOST + "/order/delete";

	String EXPRESS_TRACK_URL = URL_HOST + "/express/track";

	String RECOMMEND_LIST_URL = URL_HOST + "/recommend/list";

	String ARTICLE_CTEGOREY_LIST_URL = URL_HOST + "/article/categorylist";
	String ARTICLE_LIST_URL = URL_HOST + "/article/list";
	String ARTICLE_DETAIL_URL = URL_HOST + "/article/detail";
	String ARTICLE_COLLECTION_URL = URL_HOST + "/article/collection";
	String ARTICLE_REPLY_DEL_URL = URL_HOST + "/article_reply/del";
	String ARTICLE_DISCUSS_LIST_URL = URL_HOST + "/article_discuss/list";
	String ARTICLE_REPLY_LIST_URL = URL_HOST + "/article_reply/list";
	String ARTICLE_DISCUSS_DEL_URL = URL_HOST + "/article_discuss/del";
	String ARTICLE_DISCUSS_ADD_URL = URL_HOST + "/article_discuss/add";
	String ARTICLE_REPLY_ADD_URL = URL_HOST + "/article_reply/add";

	String TOPIC_LIST_URL = URL_HOST + "/topic/list";
	String TOPIC_MY_LIST_URL = URL_HOST + "/topic/mylist";
	String TOPIC_DETAIL_URL = URL_HOST + "/topic/detail";
	String TOPIC_DETAIL_SIGN_URL = URL_HOST + "/topic/sign";
	String TOPIC_DETAIL_FOLLOW_URL = URL_HOST + "/topic/follow";
	String TOPIC_MEMBERLIST_URL = URL_HOST + "/topic/memberlist";

	String THREAD_HOTLIST_URL = URL_HOST + "/thread/hotlist";
	String THREAD_DETAIL_URL = URL_HOST + "/thread/detail";
	String THREAD_ADD_URL = URL_HOST + "/thread/add";
	String THREAD_LIST_URL = URL_HOST + "/thread/list";
	String THREAD_COLLECTION_URL = URL_HOST + "/thread/collection";
	String THREAD_FAKEDEL_URL = URL_HOST + "/thread/fakedel";
	String THREAD_LAUD_URL = URL_HOST + "/thread/laud";
	String THREAD_PRESSED_URL = URL_HOST + "/thread/pressed";
	String THREAD_BROWSE_URL = URL_HOST + "/thread/browse";
	String THREAD_SHOW_THREAD_LIST_URL = URL_HOST + "/thread/showthreadlist";
	String THREAD_MY_LIST_URL = URL_HOST + "/thread/mylist";
	String THREAD_MY_COLLECTION_LIST_URL = URL_HOST + "/thread/mycollectionlist";
	String THREAD_HOT_DOWN_LIST_URL = URL_HOST + "/thread/hotdownlist";

	String SETTING_DETAIL_URL = URL_HOST + "/setting/detail";
	String BBS_SETTING_DETAIL_URL = URL_HOST + "/bbs/setting/detail";

	String MY_BANK_LIST = URL_HOST + "/husabank/list";
	String BANK_UNBINDING = URL_HOST + "/husabank/unbundling";

	String REPLY_LIST_URL = URL_HOST + "/reply/list";
	String REPLY_ADD_URL = URL_HOST + "/reply/add";
	String REPLY_GAG_URL = URL_HOST + "/reply/gag";
	String REPLY_FAKEDEL_URL = URL_HOST + "/reply/fakedel";
	String REPLY_MY_LIST_URL = URL_HOST + "/reply/mylist";

	String BACKRECORD_LIST_URL = URL_HOST + "/backrecord/list";

	String ADDRESS_MYLIST_URL = URL_HOST + "/address/mylist";
	String ADDRESS_ADD_URL = URL_HOST + "/address/add";
	String ADDRESS_DELETE_URL = URL_HOST + "/address/delete";
	String ADDRESS_DEF_URL = URL_HOST + "/address/def";
	String ADDRESS_DETAIL_URL = URL_HOST + "/address/detail";
	String ADDRESS_GET_DEF_URL = URL_HOST + "/address/getdef";

	String DISCUSS_LIST_URL = URL_HOST + "/discuss/list";
	String DISCUSS_ADD_URL = URL_HOST + "/discuss/add";
	String DISCUSS_FAKEDEL_URL = URL_HOST + "/discuss/fakedel";

	String USER_UPDATA_NICKNAME_URL = URL_HOST + "/member/changenickname";
	String USER_UPDATA_CHANGEPORTRAIT_URL = URL_HOST + "/member/changeicon";

	String REQUEST_QINIU_UP_TOKEN_URL = URL_HOST + "/upload/getUpToken";
	String LAUNCH_PICTURE_URL = URL_HOST + "/setting/launch_picture_v2";
	String SIGNRECORD_APPDETAIL_URL = URL_HOST + "/signrecord/appdetail";



	String HUSA_CONFIG_FILE_NAME = "husa_config";
	String HUSA_CONFIG_KEY_UPTOKEN = "uptoken";
	String HUSA_CONFIG_KEY_UPTOKEN_TIME = "uptoken_time";
	String HUSA_CONFIG_KEY_REQUEST_CHECKCODE_SIZE = "request_checkcode_size";
	String HUSA_CONFIG_KEY_REQUEST_CHECKCODE_TIME = "request_checkcode_time";
	String HUSA_CONFIG_KEY_CHECKCODE_TOKEN = "checkcode_token";

	String HUSA_CONFIG_KEY_IS_CONNECT_INTERNET = "is_connect_internet";
	String LOGIN_TOKEN = "login_token";
	String USER_INFO = "user_info";
	String IS_LOGIN = "is_login";
	String USER_UID = "user_uid";

	String USER_MOBILE = "user_mobile";

	String RESPONSE_CODE_000000 = "000000";
	int RESULT_CODE_USERCORE_UPDAT_NICKNAME = 100;
	int RESULT_CODE_USERCORE_UPDAT_PROFESSION = RESULT_CODE_USERCORE_UPDAT_NICKNAME+100;
	int RESULT_CODE_USERCORE_UPDAT_MEMO = RESULT_CODE_USERCORE_UPDAT_PROFESSION+100;
	int RESULT_CODE_USERCORE_UPDAT_EMAIL = RESULT_CODE_USERCORE_UPDAT_MEMO+100;
	String USER_ICON = "user_icon";
	String USER_NICKNAME = "user_nickname";
	String USER_ADDRESS = "user_address";
	String USER_RMB = "user_rmb";
	String ARTICLE_ACTEGOREY_LIST = "article_actegorey_list";
	String GOODS_RECOMMEND = "goods_recommend";
	String USER_HSB = "user_hsb";
	String THREAD_BANNER_LIST = "thread_banner_list";
	String SHOP_BANNER_LIST = "shop_banner_list";
	String HOME_BANNER_LIST = "home_banner_list";
	String DH_BANNER_LIST = "home_banner_list";
	String MISSION_BANNER_LIST = "mission_banner_list";
	String IS_FIRST_INTO_APP = "is_first_into_app";
	String HUSA_CONFIG_FILE_NAME_BANNER = "banner_data";

	String RECOMMEND_THREAD = "6";
	String RECOMMEND_TOPIC = "5";
	String RECOMMEND_GOODS = "10";
	String RECOMMEND_SPECIAL = "21";
	String RECOMMEND_MISSION_BANNER = "4";
	String RECOMMEND_SHOP_HOT_SEARCH = "4";
	String RECOMMEND_HOME_BANNER = "2";
	String RECOMMEND_SHOP_BANNER = "16";
	String RECOMMEND_DH_BANNER = "22";
	String RECOMMEND_HOT_SEARCH = "25";
	String RECOMMEND_HOT_THREAD = "6";

	String SHOP_CATEGOREY_LIST = "shop_category";
	String SHOP_RECOMMEND_LIST = "shop_recommend";

	String DEFAULT_PHOTO_LIST = "http://image.51husa.com/default/name_ico.png?time=111";
	String DEFAULT_SHOP_PHOTO_LIST = "http://image.51husa.com/default/ic_defult_bg.png";

	String RECOMMEND_HOME_HSQ = "home_hsq";
	int RECOMMEND_HSH_R_AD = 24;
	String RECOMMEND_HOME_DH = "home_dh";
	String RECOMMEND_HOME_HOT_THREAD = "home_hot_thread";
	int RECOMMEND_GOODS_AD = 18;
	String SHOP_AD_RECOMMEND_LIST = "hsh_ad";
	int RECOMMEND_HOME_ARTICLE_ID = 19;
	String RECOMMEND_HOME_ARTICLE = "home_article";
	String VERSION_CODE = "version_code";
	String VERSION_DOWNLOAD_URL = "download_url";
	String VERSION_MEMO = "download_memo";
	String VERSION_TYPE = "download_type";
	String VERSION_TIME = "download_time";

	String REPORT_TYPE_THREAD = "Thread";
	String REPORT_TYPE_REPLY = "Reply";
	String REPORT_TYPE_DISCUSS = "Discuss";
	String REPORT_TYPE_ARTICLEREPLY = "ArticleReply";
	String REPORT_TYPE_ARTICLEDISCUSS = "ArticleDiscuss";
	String REPORT_TYPE_ENTERPRISEREPLY = "EnterpriseReply";
	String REPORT_TYPE_ENTERPRISEDISCUSS = "EnterpriseDiscuss";

	String GOODS_TYPE_HUSA = "Husa";

	// Storage Permissions
	int REQUEST_EXTERNAL_STORAGE = 1;
	String[] PERMISSIONS_STORAGE = {
			Manifest.permission.READ_EXTERNAL_STORAGE,
			Manifest.permission.WRITE_EXTERNAL_STORAGE,
			Manifest.permission.READ_PHONE_STATE,
			Manifest.permission.CAMERA

	};
	boolean isPosVersion = false;//是否是给pos机使用的版本
	String LAUNCH_PICTURE_NAME = "launch_picture_name";
	String SEARCH_HOT_SREARCH = "search_hot_srearch";
	String SEARCH_KEY_WORD = "search_key_word";
	String SHOP_SEARCH_HOT = "shop_search_hot";

	/*
	 * 请登录http://developer.baidu.com，注册成为百度开发者，创建应用并开通语音技术服务后，
	 * 将对应的ApiKey和SecretKey填写后再测试
	 */
	String BAIDU_API_KEY = "xugQpfjce6oqX5GW7iAsTGjT";
	String BAIDU_SECRET_KEY = "aS9lQIXzvMvi0OWg30PFaSy2i7w3Tz3c";
}